import request from '@/utils/request'
import { ResultInteger, DeepRequired, AddCompanyDto } from '../../interface'

/**
 * 添加公司
 * /company/one
 */
export function postCompanyOne(input: AddCompanyDto) {
  return request.post<DeepRequired<ResultInteger>>(`/company/one`, input)
}
